import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import VueRouter from "vue-router";
import BetterTable from "@/packages/better-list-table/index.js";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

const components = [BetterTable];
components.forEach((v) => Vue.use(v));

Vue.config.productionTip = false;
Vue.use(VueRouter);
Vue.use(ElementUI);

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
